//
//  Macro.h
//  YIJU
//
//  Created by 张金国 on 16/4/5.
//  Copyright © 2016年 张金国. All rights reserved.
//

#ifndef Macro_h
#define Macro_h

#import "Masonry.h"
#import "UIButton+NavRightBtn.h"


//状态栏高度
#define STATUS_BAR_HEIGHT 20.0f
//NavBar高度
#define NAVIGATION_BAR_HEIGHT 44.0f

#define kTextFieldBorderWith 1;//textfield边框宽度


//状态栏 ＋ 导航栏 高度
#define STATUS_AND_NAVIGATION_HEIGHT ((STATUS_BAR_HEIGHT) + (NAVIGATION_BAR_HEIGHT))
//屏幕 rect
#define SCREEN_RECT ([UIScreen mainScreen].bounds)
#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)
#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)
#define CONTENT_HEIGHT (SCREEN_HEIGHT - NAVIGATION_BAR_HEIGHT - STATUS_BAR_HEIGHT)

//屏幕分辨率
#define SCREEN_RESOLUTION (SCREEN_WIDTH * SCREEN_HEIGHT * ([UIScreen mainScreen].scale))
// cell里的布局间距
#define kLayoutCommentsTableViewMargin 10.0f
//Cell里字体的大小
#define kCellTextFontSize [UIFont preferredFontForTextStyle:UIFontTextStyleBody]
//设置界面的字体颜色
#define kSettingTextcolor  [UIColor whiteColor]


//cell中textlabel的字体颜色
#define kTextLabelTextcolor [UIColor colorWithWhite:0.043 alpha:1.000]

//导航条的右标题的字体颜色
#define kNavRightTextcolor [UIColor colorWithRed:0.169 green:0.522 blue:0.827 alpha:1.000]


#define kLabelTextColor [UIFont preferredFontForTextStyle:UIFontTextStyleTitle3]

//沙盘控制Vc的背景颜色
#define kSandboxieVcBkColor [UIColor colorWithRed:0.894 green:0.906 blue:0.949 alpha:1.000]
//最底层背景颜色
#define kDockBackgroundColor [UIColor colorWithRed:0.129 green:0.157 blue:0.208 alpha:1.000]
//设置界面背景颜色
#define kSettingBackgroundColor [UIColor colorWithRed:227.0/255.0 green:230.0/255.0 blue:241.0/255.0 alpha:0.930522629310345]
//他人资料的view背景色
#define kUserInfoViewBackgroundColor [UIColor colorWithRed:0.8941 green:0.902 blue:0.9412 alpha:1.000]
//他人资料界面tableView的背景色
#define kTableViewBackgroundColor [UIColor colorWithRed:227.0/255.0 green:230.0/255.0 blue:241.0/255.0 alpha:0.5]
//他人资料scroll背景色
#define kMainScrollBackGroundColor [UIColor colorWithRed:0.455 green:0.467 blue:0.502 alpha:1.000]
//详细资料界面字体颜色
#define kTextColor [UIColor colorWithRed:0.3765 green:0.3725 blue:0.3725 alpha:1.0]

//自控制器缩放后的大小
#define kViewControllerScale CGRectMake(0, 20, SCREEN_WIDTH, SCREEN_HEIGHT-25)


//字体大小
#define kTitle_Font [UIFont systemFontOfSize:18]
#define kButton_Font [UIFont systemFontOfSize:20]
#define sTitle_Font [UIFont systemFontOfSize:14]
#define kTitleFont_11 [UIFont systemFontOfSize:11]


#endif /* Macro_h */
